<template>
  <view :style="themeColor">
    <view class="page">
      <view class="flex flex-direction flex-wrap align-stretch benben-position-layout flex jiluxiangqing_flex_0"
        :style="{height:(88+StatusBarRpx)+'rpx',paddingTop:StatusBarRpx+'rpx', }">
        <view class='flex flex-wrap align-center justify-between jiluxiangqing_fd0_0'>
          <view class='flex flex-wrap align-center jiluxiangqing_fd0_0_c0' @tap.stop="handleJumpDiy" data-type="back"
            data-url="1">
            <text class='fu-iconfont2  jiluxiangqing_fd0_0_c0_c0'>&#xE794;</text>
          </view>
          <view class='flex flex-wrap align-center'>
            <text class='jiluxiangqing_fd0_0_c1_c0'>记录详情</text>
          </view>
          <view class='flex align-center justify-end jiluxiangqing_fd0_0_c2'>
          </view>
        </view>

      </view>
      <view :style="{height: (88+StatusBarRpx)+'rpx'}"></view>
      <!---订单flex布局开始-->
      <view class="flex flex-direction align-stretch benben-flex-layout jiluxiangqing_flex_1">
        <view class='flex flex-direction flex-wrap align-stretch jiluxiangqing_fd1_0'>
          <view class='flex flex-wrap align-center justify-end jiluxiangqing_fd1_0_c0'>
            <text class='jiluxiangqing_fd1_0_c0_c0'>客户</text>
            <text>{{dataDetails.user_nickname}}</text>
          </view>
          <view class='flex flex-wrap align-center justify-end jiluxiangqing_fd1_0_c1'>
            <text class='jiluxiangqing_fd1_0_c0_c0'>手机</text>
            <text class='jiluxiangqing_fd1_0_c1_c1'>{{dataDetails.user_info.mobile}}</text>
          </view>
          <view class='flex flex-wrap align-center justify-end jiluxiangqing_fd1_0_c1'>
            <text class='jiluxiangqing_fd1_0_c0_c0'>型号</text>
            <text class='jiluxiangqing_fd1_0_c1_c1'>{{dataDetails.type_no}}</text>
          </view>
          <view class='flex flex-wrap align-center justify-end jiluxiangqing_fd1_0_c1'>
            <text class='jiluxiangqing_fd1_0_c0_c0'>型号</text>
            <text class='jiluxiangqing_fd1_0_c1_c1'>{{dataDetails.brand}}</text>
          </view>
          <view class='flex flex-wrap align-center justify-end jiluxiangqing_fd1_0_c1'>
            <text class='jiluxiangqing_fd1_0_c0_c0'>型号</text>
            <text class='jiluxiangqing_fd1_0_c1_c1'>{{dataDetails.cate}}</text>
          </view>
          <view class='flex flex-wrap align-center justify-end jiluxiangqing_fd1_0_c1'>
            <text class='jiluxiangqing_fd1_0_c0_c0'>数量</text>
            <text class='jiluxiangqing_fd1_0_c1_c1'>{{dataDetails.number}}</text>
          </view>
          <view class='flex flex-wrap align-center justify-end jiluxiangqing_fd1_0_c1'>
            <text class='jiluxiangqing_fd1_0_c0_c0'>预约时间</text>
            <text class='jiluxiangqing_fd1_0_c1_c1'>{{dataDetails.time}}</text>
          </view>
          <view class='flex flex-wrap align-center justify-end jiluxiangqing_fd1_0_c1'>
            <text class='jiluxiangqing_fd1_0_c0_c0'>回收地点</text>
            <text class='jiluxiangqing_fd1_0_c5_c1'>{{dataDetails.address}}</text>
          </view>
        </view>
        <view class='flex flex-direction flex-wrap align-stretch jiluxiangqing_fd1_1'>
          <view class='flex flex-wrap align-center jiluxiangqing_fd1_1_c0'>

            <view class='flex  jiluxiangqing_fd1_1_c0_c0'></view>

            <text class='jiluxiangqing_fd1_1_c0_c1'>订单信息</text>
          </view>
          <view class='flex flex-wrap align-stretch justify-between jiluxiangqing_fd1_1_c1'>
            <text class='jiluxiangqing_fd1_1_c1_c0'>订单编号</text>
            <view class='flex flex-wrap align-center'>
              <text class='jiluxiangqing_fd1_1_c1_c1_c0'>{{dataDetails.order_sn}}</text>
              <text class='jiluxiangqing_fd1_1_c1_c1_c1' @tap.stop="copyText(dataDetails.order_sn)">复制</text>
            </view>
          </view>
          <view class='flex flex-direction flex-wrap align-stretch'>
            <view class='flex flex-wrap align-center justify-between jiluxiangqing_fd1_1_c2_c0'>
              <text class='jiluxiangqing_fd1_1_c2_c0_c0'>下单时间</text>
              <text class='jiluxiangqing_fd1_1_c2_c0_c1'>{{dataDetails.create_time}}</text>
            </view>
          </view>
        </view>
        <view class='flex flex-direction flex-wrap align-stretch jiluxiangqing_fd1_2'>
          <view class='flex flex-wrap align-center jiluxiangqing_fd1_1_c0'>
            <view class='flex  jiluxiangqing_fd1_1_c0_c0'></view>
            <text class='jiluxiangqing_fd1_1_c0_c1'>回收信息</text>
          </view>
          <view class='flex flex-direction flex-wrap align-stretch'>
            <view class='flex flex-wrap align-center justify-between jiluxiangqing_fd1_1_c2_c0'>
              <text class='jiluxiangqing_fd1_1_c2_c0_c0'>重量</text>
              <text class='jiluxiangqing_fd1_1_c2_c0_c1'>{{dataDetails.weghit}}KG</text>
            </view>
          </view>
          <view class='flex flex-direction flex-wrap align-stretch' v-model="dataDetails.remark">
            <view class='flex flex-wrap align-center justify-between jiluxiangqing_fd1_1_c2_c0'>
              <text class='jiluxiangqing_fd1_1_c2_c0_c0'>备注</text>
              <text class='jiluxiangqing_fd1_1_c2_c0_c1'>{{dataDetails.remark}}</text>
            </view>
          </view>
          <view class='flex flex-wrap align-stretch justify-between jiluxiangqing_fd1_2_c1'>
            <text class='jiluxiangqing_fd1_1_c2_c0_c0'>完成时间</text>
            <view class='flex flex-wrap align-center'>
              <text class='jiluxiangqing_fd1_2_c1_c1_c1'>{{item.time}}</text>
            </view>
          </view>
        </view>
      </view>
      <!---订单flex布局结束-->
    </view>
  </view>
</template>
<script>
  import {
    validate
  } from '@/common/utils/validate.js'

  export default {
    components: {},


    data() {
      return {
        "popupShow1706076633241": false,
        "cut": "1",
        "cancel_id": "",
        "dataDetails": {
          "order_sn": "",
          "user_nickname": "",
          "number": "",
          "weghit": "",
          "remark": "",
          "order_status": "",
          "nickname_2": "",
          "freerecyclingtype_name": "",
          "address": "",
          "detail_address": "",
          "time": "",
          "lat": "",
          "lng": "",
          "aid": "",
          "create_id": "",
          "update_time": "",
          "create_time": "",
          "status": "",
          "sort": "",
          "is_del": "",
          "freerecyclingtype_id": "",
          "user_id": "",
          "user_id_2": "",
          "user_info": []
        },
        "dataMessage": [],
        "text": "shenqingchengg",
        "money": 0,
        "order_id": "1026",
        "order_sn": ""
      };
    },
    computed: {
      themeColor() {
        return this.$store.getters.themeColor
      },

    },
    watch: {},
    onLoad(options) {
      let {
        order_sn
      } = options
      if (order_sn !== undefined) this.order_sn = order_sn
      this.getDetailFunc()
    },
    onUnload() {

    },
    onReady() {

    },
    onShow() {

    },
    onHide() {

    },
    onResize() {

    },
    onPullDownRefresh() {

    },
    onReachBottom(e) {

    },
    onPageScroll(e) {

    },
    methods: {
      //订单-订单详情
      async getDetailFunc() {
        //请求方法
        //数据验证

        let datadataDetails = await this.$api.get(global.apiUrls.post65d17a16e997c, {
          order_sn: this.order_sn
        });

        if (datadataDetails.data.code != 1) {
          this.$message.info(datadataDetails.data.msg);
          return
        }
        let infodataDetails = datadataDetails.data;
        this.dataDetails = infodataDetails.data
      },
    }
  };
</script>
<style lang="scss" scoped>
  .page {
    width: 100vw;
    overflow-x: hidden;
    min-height: calc(100vh - var(--window-bottom));
    background: #F8F8F8;
    background-size: 100% auto;
  }

  .jiluxiangqing_flex_0 {
    background: #FFF;
    width: 750rpx;
    height: 88rpx;
    overflow: hidden;
    z-index: 10;
    top: 0rpx;
    background-size: 100% auto !important;
  }

  .jiluxiangqing_fd0_0_c2 {
    padding: 0rpx 0rpx 0rpx 0rpx;
    width: 200rpx;
  }

  .jiluxiangqing_fd0_0_c1_c0 {
    font-size: 36rpx;
    font-weight: 600;
    color: var(--benbenFontColor0);
  }

  .jiluxiangqing_fd0_0_c0_c0 {
    font-size: 36rpx;
    color: var(--benbenFontColor0);
    font-weight: 500;
  }

  .jiluxiangqing_fd0_0_c0 {
    width: 200rpx;
  }

  .jiluxiangqing_fd0_0 {
    padding: 0rpx 32rpx 0rpx 32rpx;
    line-height: 88rpx;
  }

  .jiluxiangqing_flex_1 {
    padding: 5rpx 24rpx 32rpx 24rpx;
    margin: 0rpx 0rpx 88rpx 0rpx;
  }

  .jiluxiangqing_fd1_2_c2_c0_c0 {
    margin: 0rpx 72rpx 0rpx 0rpx;
    font-size: 28rpx;
    font-weight: 400;
    color: var(--benbenFontColor0);
  }

  .jiluxiangqing_fd1_2_c1_c1_c1 {
    margin: 0rpx 0rpx 0rpx 12rpx;
  }

  .jiluxiangqing_fd1_2_c1_c1_c0 {
    font-size: 28rpx;
    text-align: right;
  }

  .jiluxiangqing_fd1_2_c1_c0 {
    font-size: 28rpx;
    font-weight: 400;
    color: var(--benbenFontColor0);
  }

  .jiluxiangqing_fd1_2_c1 {
    line-height: 34rpx;
    margin: 32rpx 0rpx 0rpx 0rpx;
    font-size: 28rpx;
  }

  .jiluxiangqing_fd1_2 {
    background: #fff;
    background-size: 100% auto !important;
    border-radius: 16rpx 16rpx 16rpx 16rpx;
    padding: 32rpx 24rpx 32rpx 24rpx;
    margin: 0rpx 0rpx 100rpx 0rpx;
  }

  .jiluxiangqing_fd1_1_c2_c0_c1 {
    font-size: 24rpx;
    font-weight: 400;
    color: #333333;
  }

  .jiluxiangqing_fd1_1_c2_c0_c0 {
    margin: 0rpx 72rpx 0rpx 0rpx;
    font-size: 28rpx;
    font-weight: 400;
    color: #999999;
  }

  .jiluxiangqing_fd1_1_c2_c0 {
    margin: 32rpx 0rpx 0rpx 0rpx;
  }

  .jiluxiangqing_fd1_1_c1_c1_c1 {
    border: 1px solid #10337E;
    background: #FFFFFF;
    font-size: 22rpx;
    font-weight: 400;
    color: var(--benbenFontColor4);
    border-radius: 16rpx 16rpx 16rpx 16rpx;
    padding: 1rpx 6rpx 1rpx 6rpx;
  }

  .jiluxiangqing_fd1_1_c1_c1_c0 {
    font-size: 24rpx;
    font-weight: 400;
    color: #333333;
    margin: 0rpx 43rpx 0rpx 72rpx;
    -webkit-line-clamp: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
  }

  .jiluxiangqing_fd1_1_c1_c0 {
    font-size: 28rpx;
    font-weight: 400;
    color: #999999;
  }

  .jiluxiangqing_fd1_1_c1 {
    line-height: 34rpx;
    margin: 32rpx 0rpx 0rpx 0rpx;
  }

  .jiluxiangqing_fd1_1_c0_c1 {
    font-size: 32rpx;
    font-weight: 500;
    color: #333333;
  }

  .jiluxiangqing_fd1_1_c0_c0 {
    background: rgba(16, 51, 126, 1);
    width: 6rpx;
    height: 30rpx;
    margin: 0rpx 15rpx 0rpx 0rpx;
    transform: scaleX(0.5);
  }

  .jiluxiangqing_fd1_1_c0 {
    border-bottom: 1px solid #eee;
    padding: 0rpx 0rpx 24rpx 0rpx;
    margin: 0rpx 0rpx 0rpx 0rpx;
  }

  .jiluxiangqing_fd1_1 {
    background: #fff;
    background-size: 100% auto !important;
    border-radius: 16rpx 16rpx 16rpx 16rpx;
    padding: 32rpx 24rpx 32rpx 24rpx;
    margin: 12rpx 0rpx 24rpx 0rpx;
  }

  .jiluxiangqing_fd1_0_c5_c1 {
    font-size: 28rpx;
    color: #333333;
    line-height: 42rpx;
    text-align: right;
  }

  .jiluxiangqing_fd1_0_c2_c1_1 {
    font-size: 28rpx;
    font-weight: 700;
    color: #333333;
    line-height: 42rpx;
  }

  .jiluxiangqing_fd1_0_c1_c1 {
    font-size: 28rpx;
    color: #333333;
    line-height: 42rpx;
  }

  .jiluxiangqing_fd1_0_c1 {
    margin: 0rpx 0rpx 32rpx 0rpx;
  }

  .jiluxiangqing_fd1_0_c0_c0 {
    font-size: 28rpx;
    font-weight: 500;
    color: #333333;
    margin: 0rpx auto 0rpx 0rpx;
  }

  .jiluxiangqing_fd1_0_c0 {
    margin: 32rpx 0rpx 32rpx 0rpx;
  }

  .jiluxiangqing_fd1_0 {
    background: #fff;
    border-radius: 16rpx 16rpx 16rpx 16rpx;
    background-size: 100% auto !important;
    margin: 24rpx 0rpx 24rpx 0rpx;
    padding: 0rpx 24rpx 0rpx 24rpx;
  }

  .jiluxiangqing_flex_2 {
    background: #fff;
    width: 540rpx;
    border-radius: 16rpx 16rpx 16rpx 16rpx;
  }

  .jiluxiangqing_fd2_2_c1 {
    border-top: 1px solid #eee;
    border-left: 1px solid #eee;
    background: #fff;
    line-height: 110rpx;
    border-radius: 0rpx 0rpx 16rpx 0rpx;
    font-size: 32rpx;
    color: rgba(16, 51, 126, 1);
    font-weight: 500;
    width: 270rpx;
  }

  .jiluxiangqing_fd2_2_c0 {
    border-top: 1px solid #eee;
    background: #fff;
    line-height: 110rpx;
    border-radius: 0rpx 0rpx 0rpx 16rpx;
    font-size: 32rpx;
    color: rgba(153, 153, 153, 1);
    font-weight: 500;
    width: 270rpx;
  }

  .jiluxiangqing_fd2_2 {
    margin: 37rpx 0rpx 0rpx 0rpx;
  }

  .jiluxiangqing_fd2_1 {
    line-height: 52rpx;
    font-size: 32rpx;
    font-weight: 400;
    color: #333333;
    margin: 0rpx 32rpx 0rpx 32rpx;
    text-align: center;
  }

  .jiluxiangqing_fd2_0 {
    font-size: 36rpx;
    font-weight: 700;
    line-height: 32rpx;
    color: #333333;
    margin: 40rpx 0rpx 40rpx 0rpx;
  }
</style>
